package com.seventh.parkingrent.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.seventh.parkingrent.controller.form.ParkingSpaceAuditForm;
import com.seventh.parkingrent.controller.form.ParkingSpaceFormForFront;
import com.seventh.parkingrent.domain.ParkingSpace;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 车位信息表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-08-25
 */
public interface IParkingSpaceService extends IService<ParkingSpace> {

    Integer getNeedAuditParkingNo();

    IPage<ParkingSpaceFormForFront> getNeedAuditParking(Integer pageIndex, Integer pageSize);

    Integer updateParkingSpaceAudit(ParkingSpaceAuditForm form);

    List<String> selectParkingSpaceAddr();

    IPage<ParkingSpaceFormForFront> selectParkingSpaceByObjectLike(String username, String propertyName, String parkingSpaceAddr, Integer pageIndex, Integer pageSize);
}
